import QtQuick 2.1
import QtQuick.Controls 1.0
import QtQuick.Window 2.0
import QtQuick.Dialogs 1.0
import QtQuick.XmlListModel 2.0


MenuBar {
    id: mainMenu
    Menu {
        title: qsTr("&File")
        
        MenuItem {
            text: qsTr("New")
            enabled: false
        }
        
        MenuItem {
            action: openAction
        }
        
        MenuItem {
            action: saveAsAction
        }
        
        MenuItem {
            text: qsTr("Save...")
            enabled: false
        }
        
        MenuItem {
            text: qsTr("Exit")
            shortcut: "CTRL+Q"
            onTriggered: Qt.quit();
        }
    }

    Menu {
        title: qsTr("&Edit")

        MenuItem
        {
            text: qsTr("Add Skill")
        }
    }
}
